/*
 * $Id: $
 */
package org.rcgwt.client.ui.grid.provider;

import org.rcgwt.client.ui.grid.IIndexList;
import org.rcgwt.client.ui.grid.event.HasBeforeCheckHandlers;
import org.rcgwt.client.ui.grid.event.HasCheckHandlers;
import org.rcgwt.client.ui.grid.event.IIndexesState;

/**
 * 
 * @author Olivier Oeuillot (latest modification by $Author: $)
 * @version $Revision: $ $Date: $
 */
public interface ICheckProvider extends HasCheckHandlers<IIndexesState>,
        HasBeforeCheckHandlers<IIndexesState> {
    int[] getCheckedRowIndexes();

    void setCheckedRowIndexes(int... rowIndexes);

    void appendCheckedRowIndexes(int... rowIndexes);

    void clearCheckedRowIndexes(int... rowIndexes);

    IIndexList getCheckedList();
}
